package com.shuxinxin.test.service;

import com.shuxinxin.test.pojo.User;

public interface UserService {

    //    登录
    User login(String username, String password);

    //注册
    int reg(String username, String password, String nickname);

    //    查询账户是否存在
    User selectUser(String username);
}
